Date.this

Create a new #GDate representing the given day-month-year triplet.

The triplet you pass in must represent a valid date. Use g_date_valid_dmy() if needed to validate it. The returned #GDate is guaranteed to be non-%NULL and valid.

  1. this(GDate* gDate, bool ownedRef)
  2. this()
  3. this(GDateDay day, GDateMonth month, GDateYear year)
  4. this(uint julianDay)

Parameters

day GDateDay

day of the month

month GDateMonth

month of the year

year GDateYear

year

Return Value

a newly-allocated #GDate initialized with @day, @month, and @year

Throws

ConstructionException GTK+ fails to create the object.

Meta